import routerPlaceholder from '../../views/layout/router-placeholder.vue'

let routers = {
  path: 'data',
  name: 'data',
  component: routerPlaceholder,
  redirect: {
    name: "dataTest"
  },
  children: [{
    path: 'churchFarm',
    name: 'churchFarm',
    component: () => import('@/views/data/churchFarm/index.vue'),
    meta: {
      activeMenu: 'churchFarm',
      title: 'churchFarm',
      icon: 'churchFarm',
      affix: true
    }
  },{
    path: 'taichung',
    name: 'taichung',
    component: () => import('@/views/data/taichung/index.vue'),
    meta: {
      activeMenu: 'taichung',
      title: 'taichung',
      icon: 'taichung',
      affix: true
    }
  },{
    path: 'bloom',
    name: 'bloom',
    component: () => import('@/views/data/bloom/index.vue'),
    meta: {
      activeMenu: 'bloom',
      title: 'bloom',
      icon: 'bloom',
      affix: true
    }
  },{
    path: 'hefei',
    name: 'hefei',
    component: () => import('@/views/data/hefei/index.vue'),
    meta: {
      activeMenu: 'hefei',
      title: 'hefei',
      icon: 'hefei',
      affix: true
    }
  },{
    path: 'church',
    name: 'church',
    component: () => import('@/views/data/church/index.vue'),
    meta: {
      activeMenu: 'church',
      title: 'church',
      icon: 'church',
      affix: true
    }
  },{
    path: 'SanMiguel',
    name: 'SanMiguel',
    component: () => import('@/views/data/SanMiguel/index.vue'),
    meta: {
      activeMenu: 'SanMiguel',
      title: 'SanMiguel',
      icon: 'SanMiguel',
      affix: true
    }
  },{
    path: 'test',
    name: 'dataTest',
    component: () => import('@/views/data/test/index.vue'),
    meta: {
      activeMenu: 'dataTest',
      title: '测试',
      icon: 'dataTest',
      affix: true
    }
  }]
}

export default routers
